package com.betterjr.modules.application.dao;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

import com.betterjr.common.annotation.BetterjrMapper;
import com.betterjr.mapper.common.Mapper;
import com.betterjr.modules.application.entity.AmsMenuResourceRelation;

@BetterjrMapper
public interface AmsMenuResourceRelationMapper extends Mapper<AmsMenuResourceRelation> {

    @Update("update t_ams_menu_resource set c_businStatus='9' where n_menuid=#{menuId} and c_businStatus='1'")
    public void updateBusinStatusToNoEffective(@Param("menuId") Long menuId);

}
